#ifndef REGIST_WID_H
#define REGIST_WID_H

#include "tcpdatareceiver.h"
#include <QWidget>
#include <QDebug>
#include<QTcpSocket>
#include<QMessageBox>
#include<QHostAddress>
namespace Ui {
class regist_wid;
}

class regist_wid : public QWidget
{
    Q_OBJECT
signals:
void  regwid_closed();

public:
    explicit regist_wid(QTcpSocket *socket,QWidget *parent = nullptr);
    ~regist_wid();


private slots:

    void on_black_clicked();
    void on_regist_clicked();

private:

     QTcpSocket *re_tcp;
     Ui::regist_wid *ui;
};

#endif // REGIST_WID_H
